<%inherit file="main.html"/>
<%block name="Title">分类管理</%block>
<%block name="Main">

<div id="nav">
	<div class="buttons">
			<a href="/admin/category" class="button big">列表</a>
	</div>
</div>

%if DATA.form!=None:
<form method="post" action="/admin/category/new/submit">
	<table style="width:500px;" summary="添加分类">
			<caption>表单列表</caption>
		<thead>
			<tr class="odd">
				<th scope="col" abbr="Article ID">字段</th>
				<th scope="col" abbr="Article Title">表单</th>	
				<th scope="col" abbr="Article Action">提示</th>
			</tr>
		</thead>
			<tr>
				<th><label>${DATA.form.category_name.description}</label></th>
				<td>${DATA.form.category_name.render()}</td>
				<td><strong class="wrong">*</strong>
					${DATA.form.category_name.renderNote()}
				</td>
			</tr>
			<tr>
				<th></th>
				<td>${DATA.form.category_submit.render()}</td>
				<td></td>
			</tr>
	</table>
</form>
%endif


</%block>
